-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(ts): xtrim threshold accepts string #2828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Good catch! Can you please do it for the v5 branch instead? Thanks! |
Hi @Eomm, if you are still up to it, we can resurrect this PR and finish it |
I will try to recreate it by EOD 👍🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Eomm, sorry for late response. This looks good.
Just for clarity, i think its good to change all MINID tests to use string instead of number.
It seems there is only one test that uses the number: node-redis/packages/client/lib/commands/XTRIM.spec.ts Lines 18 to 19 in fceb609
Would you like to change it or keep it to verify the |
I guess thats fine. Thanks for the contribution! |
This reverts commit 7d905c0.
@Eomm sorry, i clicked "merge" without looking. This is supposed to be merged agains |
Done: #3058 I was sure I read that I had to target |
Description
The
XTRIM
command accepts a streamId that is a string:Checklist
npm test
pass with this change (including linting)?